#!/usr/bin/python
# -*- coding: UTF-8 -*-

DEV = 'develop'
RC = 'rc'
PRD = 'prd'

# Jenkins 对应操作项
J_PKG_DEV = 'J_PKG_DEV'
J_PKG_RC = 'J_PKG_RC,'
J_PKG_PRD = 'J_PKG_PRD'
J_DEP_DEV = 'J_DEP_DEV'
J_DEP_RC = 'J_DEP_RC,'
J_DEP_PRD = 'J_DEP_PRD'

# GitLab 对应操作项
RC_TAG = 'RC_TAG'
PRD_TAG = 'PRD_TAG'

# 项目分支名
BRANCH_DEV = 'origin/develop'
BRANCH_RC = 'origin/master-rc'
BRANCH_PRD = 'origin/master'

# 项目列表配置
TRADE = 'trade-web'
AUTH = 'auth-web'
API = 'service-api'
BY_PAY = 'service-bypay'
PROVIDER = 'service-provider'
ONE_PKG = 'service-one-package'
TICKET = 'service-ticket'
TICKET_QUERY = 'service-ticket-query'
CORE_PAY = 'service-core-pay'
CORE_TRADE = 'service-core-trade'
SVC_INFO = 'service-info'
SVC_JOB = 'service-job'

# 支持打包的web项目
WEB_PKG_LIST = [TRADE, AUTH]

# 支持打包的service项目
SERVICE_PKG_LIST = [API, BY_PAY, PROVIDER, ONE_PKG, TICKET, TICKET_QUERY, CORE_PAY, CORE_TRADE]

# UI窗口显示项目列表
PROJECT_LIST = WEB_PKG_LIST + SERVICE_PKG_LIST + [SVC_INFO, SVC_JOB]

